<%@page import="support.*, java.util.*" %>
<HTML>
<HEAD><TITLE>Discipline Page</TITLE></HEAD>
<BODY>
<%
	String stringCount = (String)session.getAttribute("count");
	String universities = request.getParameter("universities"+stringCount);
	session.setAttribute("universities"+stringCount, universities);
%>
User Name : <%=session.getAttribute("fullName")%> <p>
School Location : <%=session.getAttribute("location"+stringCount)%> <p>
University :<%=universities%>
<p>
Please Select your major : 
<p>
<FORM METHOD=GET ACTION="moreDegree.jsp">
<%
support s = new support();
String path3 = config.getServletContext().getRealPath("majors.txt");
Vector majors = s.getMajors(path3);
for(int i=0;i <majors.size();i++)
{
%>
<INPUT TYPE="RADIO" NAME="discipline<%=stringCount%>" value="<%=majors.get(i)%>">
<%=majors.get(i)%><br>
<%
}
%>
<p>
Discipline that is not on the list :
<INPUT TYPE="TEXT" SIZE="20" NAME="discipline<%=stringCount%>"/><p>
The degree awarded/expected at : (MM/YYYY)
<INPUT TYPE="TEST" SIZE="2" NAME="awardedMonth<%=stringCount%>"/>
<INPUT TYPE="TEST" SIZE="4" NAME="awardedYear<%=stringCount%>"/>
<p>
GPA/Expected GPA :
<INPUT TYPE="TEXT" SIZE="4" NAME="gpa<%=stringCount%>"/>
<p>
Title of degree : 
<SELECT NAME="title<%=stringCount%>">
<option value="BS">BS</option>
<option value="MS">MS</option>
<option value="PHD">PHD</option>
</SELECT>
<p>
Please upload your transcipt : (*pdf)
<p>
<INPUT TYPE="FILE" NAME="transcipt<%=stringCount%>" accept="application/pdf"/>
<p>
<INPUT TYPE="SUBMIT" VALUE="Submit"/>

</FORM>
</BODY>
</HTML>
